let WEBAPI, outputDir, PROXY
const type = 2
switch (type) {
	case 0: // 本地代理测试
		WEBAPI = 'http://meilai.local'
		outputDir = 'local'
		PROXY = false
		break
	case 1:
		// 测试
		WEBAPI = 'https://api.meilai.yunshy.com'
		outputDir = 'dist'
		PROXY = false
		break
		// 正式
	case 2:
		WEBAPI = 'https://api.oa.meilaiwenhua.com'
		outputDir = 'dist-pro'
		PROXY = false
		break
	case 3:
		// 开发
		WEBAPI = 'https://api.meilai.yunshy.com'
		outputDir = 'dist-dev'
		PROXY = false
		break
}

module.exports = {
	title: '美莱系统',
	showSettings: false,
	fixedHeader: true,
	sidebarLogo: true,
	tagsView: true,
	WEBAPI,
	outputDir,
	PREAPI: '/api',
	PRMOCK: '/mockapi',
	PROXY // 是否开启代理
}
